using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.OleDb;
using QuanLyThuVien1.DTO;
using QuanLyThuVien1.DAO;

namespace QuanLyThuVien1.BUS
{
    public class CNhaXuatBan_Bus
    {
        public void ThemNhaXuatBan(NHAXUATBAN n)
        {
            CNhaXuatBan nh = new CNhaXuatBan();
            nh.themNhaXuatBan(n);
        }
        public void XoaNhaXuatBan(string maNXB)
        {
            CNhaXuatBan nh = new CNhaXuatBan();
            nh.xoaNhaXuatBan(maNXB);
        }
        public DataTable TimNhaXuatBan(string maNXB)
        {
            DataTable d = new DataTable();
            CNhaXuatBan nh = new CNhaXuatBan();
            d = nh.TimNXB(maNXB);
            return d;
        }
        public bool Tim1NXB(string tenNXB)
        {
            CNhaXuatBan n = new CNhaXuatBan();
            return n.KiemTraNXB(tenNXB);
        }
    }
}
